package com.ruoyi.ftrl.io.server.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.tio.core.intf.Packet;

/**
 * 解析完后的实体
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BTypeCollector extends Packet {
    //帧头
    private String header;
    //长度
    private String len;
    //功能码
    private String key;
    //设备ID
    private String eid;
    //时间
    private String time;
    //通断状态
    private String colectsta;
    //通讯状态
    private String transprotsta;
    //计量点ID
    private String meternum;
    //表类型
    private String type;
    //标号
    private String valveid;
    //室内温度
    private String indoortemp;
    //室内设置温度
    private String indoorsettemp;
    //空
    private String nc;
    //最近两小时平均温度
    private String agvindoortemp;

    //空2
    private String nc2;
    //进水温度
    private String intemp;
    //回水温度
    private String outtemp;

    //阀门开合角度
    private String valveangle;
    //累计工作时间
    private String worktime;
    //空3
    private String nc3;
    //累计阀门开启时间
    private String opentime;
    //空4
    private String nc4;
    //实时时间
    private String realtime;
    //STF状态
    private String ststa;
    //校验位
    private String crc;
}
